5f43143594561042e4434b4910f1833dc2b04bd0,src/main/java/cn/edu/buaa/crypto/encryption/abe/kpabe/gpsw06a/serparams/KPABEGPSW06aMasterSecretKeySerParameter.java,KPABEGPSW06aMasterSecretKeySerParameter,KPABEGPSW06aMasterSecretKeySerParameter,#PairingParameters#Element[]#Element#,25

Before Change



    public KPABEGPSW06aMasterSecretKeySerParameter(PairingParameters pairingParameters, Element[] ts, Element y) {
        super(true, pairingParameters);
        this.ts = ElementUtils.cloneImmutable(ts);
        this.byteArraysTs = PairingUtils.GetElementArrayBytes(this.ts);

        this.y = y.getImmutable();
        this.byteArrayY = this.y.toBytes();

After Change



        this.ts = new HashMap<String, Element>();
        this.byteArraysTs = new HashMap<String, byte[]>();
        for (String attribute : ts.keySet()) {
            Element elementAttribute = ts.get(attribute).duplicate().getImmutable();
            this.ts.put(attribute, elementAttribute);
            this.byteArraysTs.put(attribute, elementAttribute.toBytes());
        }

        this.y = y.getImmutable();